package com.nowcoder.community.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//登录凭证
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginTicket {

    private int id;

    private int userId;

    private String ticket;

    private int status;//0-有效; 1-无效

    private Date expired;//到期时间

}
